package ${cfg.reqPackage};

import com.hyzx.qbasic.admin.model.vo.req.BaseRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 修改${table.comment!}请求类
 *
 * @author ${author}
 * @since ${date}
 */

@ApiModel
public class ${cfg.editReqName} extends BaseRequest {
<#-- ----------  BEGIN 字段循环遍历  ---------->
<#list table.fields as field>
    <#if field.propertyName!="createTime" && field.propertyName!="updateTime">
    <#if field.comment!?length gt 0>
    @ApiModelProperty("${field.comment}")
    </#if>
    private ${field.propertyType} ${field.propertyName};

    </#if>
</#list>
<#list table.fields as field>
    <#if field.propertyName!="createTime" && field.propertyName!="updateTime">
    <#if field.propertyType == "boolean">
        <#assign getprefix="is"/>
    <#else>
        <#assign getprefix="get"/>
    </#if>
    public ${field.propertyType} ${getprefix}${field.capitalName}() {
        return ${field.propertyName};
    }

    public void set${field.capitalName}(${field.propertyType} ${field.propertyName}) {
        this.${field.propertyName} = ${field.propertyName};
    }

    </#if>
</#list>
}
